package net.pimpas.xml.serviceprovider;

import net.pimpas.core.serviceprovider.ServiceProviderFactory;
import net.pimpas.framework.PimpasFramework;

public class XmlServiceProviderFactoryImpl implements ServiceProviderFactory<XmlServiceProvider> {

	public static XmlServiceProvider getXmlServiceProvider(Object... params) {
		return new XmlServiceProviderFactoryImpl().getServiceProvider(params);
	}
	
	public XmlServiceProvider getServiceProvider(Object... params) {
		return (XmlServiceProvider) PimpasFramework.getCurrentInstance().getServiceProvider(XmlServiceProvider.class, params);
	}

}